// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
import { sync } from 'vuex-router-sync'
import 'element-ui/lib/theme-default/index.css'
import instance from './api/index-client'
import store from './store/store'
import App from './App'
import util from './util/index'
import router from './router'
import $ from 'jquery'

sync(store, router)

require('./assets/css/style.css')

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(util)
Vue.prototype.axios = instance



/* eslint-disable no-new */
new Vue({
    el: '#app',
    instance,
    router,
    template: '<App/>',
    components: { App },
    render: h => h(App)
})
